module.exports = function(contructor, extendObject) {
    for (var key in extendObject) {
        if (contructor.prototype.hasOwnProperty(key)) {
            throw new Error('不能覆盖已有的原型方法' + key);
        }
        contructor.prototype[key] = extendObject[key];
    }
};